home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr22 / gnplt.zip / ERRORBAR.DEM < prev    next >
Text File  |  1993-05-11  |  1KB  |  41 lines

  1. #
  2. # $Id: errorbar.dem%v 3.38.2.114 1993/04/15 01:48:40 woo Exp woo $
  3. #
  4. # 31 Mar 1993  Modified by Daniel S. Lewart (d-lewart@uiuc.edu)
  5. #
  6. set xrange [-3:65]
  7. set yrange [ 4:14]
  8.  
  9. set title "Demonstration of error bars (both ylow and yhigh, default format)"
  10. plot "err.dat" with errorbars
  11. pause -1 "Hit return to continue"
  12.  
  13. # this should look the same
  14. set title "Demonstration of error bars (both ylow and yhigh)"
  15. plot "err.dat" using 1:2:3:4 with errorbars
  16. pause -1 "Hit return to continue"
  17.  
  18. set title "Demonstration of error bars (only ydelta)"
  19. plot "err.dat" using 1:2:5 with errorbars
  20. pause -1 "Hit return to continue"
  21.  
  22. set title "Plot data file twice to get lines and errorbars"
  23. plot "err.dat" with lines, "err.dat" using 1:2:3:4 with errorbars
  24. pause -1 "Hit return to continue"
  25.  
  26. set logscale y
  27. set title "Demonstration of error bars (only ydelta) with y logscale"
  28. plot [-3:65] [1:100] "err.dat" using 1:2:5 with errorbars
  29. set nologscale y
  30. pause -1 "Hit return to continue"
  31.  
  32. set logscale x
  33. set title "Demonstration of error bars (only ydelta) with x logscale"
  34. plot [1:100] [4:14] "err.dat" using 1:2:5 with errorbars
  35. set nologscale x
  36. pause -1 "Hit return to continue"
  37.  
  38. set autoscale
  39. set nologscale
  40. set title ""
  41.